﻿body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: Tahoma, Helvetica, Arial, "Microsoft Yahei","微软雅黑", STXihei, "华文细黑", sans-serif;
	min-height: 100%;
	max-width: 100%;
}

.mainrow {
	overflow: hidden;
}

.notifcloser {
	cursor: pointer;
	float: right;
}

td.day_schedule_lesson a {
	color: white;
}

p {
	margin: 10px 0;
}

.alerts{
    padding: 20px;
    color: white;
    opacity: 1;
    transition: opacity 0.6s; 
}

.alerts.error {background-color: #f44336;}
.alerts.success {background-color: #4CAF50;}
.alerts.info {background-color: #2196F3;}
.alerts.warning {background-color: #ff9800;}

.alerts_close {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.alerts_close:hover {
    color: black;
}

.schedule_table{
    border-collapse: collapse;
    margin-top: 25px;
}

.schedule_table_background{
    background: linear-gradient( to bottom, rgba(183,183,183,0.18), rgba(153, 153, 153, 0.13) 50%, rgba(183,183,183,0.04) 50%, rgba(153, 153, 153, 0.04) );
    background-size: 100% 34px;
}  
  
.schedule_table tr:first-child td {
	padding-bottom: 10px;
}

.schedule_table_times {
	width: 110px;
	color: grey;
	font-size: 14px;
}

.schedule_table td{
	background-color: #fefefe;
	width: 180px;
	display: table-cell;
	vertical-align: top;
	text-align: center;
}
  
.schedule_container{
	position: relative;
	top: -50%;
	width: 100%;
	overflow:hidden;
}
  
.schedule{
	text-align: center;
	position: absolute;
	width: 100%;
	left: 0px;
	overflow:hidden;
}

.schedule_0{
    border: 1px solid #d8d8d8;
	background-color: #F5F5F5;
}
  
.schedule_1 {
    border: 1px solid #5d973e;
    -webkit-box-shadow: inset 0px 0px 124px -14px rgba(138,208,102,1);
    -moz-box-shadow: inset 0px 0px 124px -14px rgba(138,208,102,1);
    box-shadow: inset 0px 0px 124px -14px rgba(138,208,102,0.5);
    background-color: rgba(138, 208, 102, 0.2);
}
  
.schedule_2 {
    border: 1px solid #5d973e;
    background-color: rgba(138, 208, 102, 0.45);
}

.schedule_3{
    border-radius: 10px;
    border: 1px solid #117ade;
	background-color: #399FFF;
}

.schedule_4{
    border-radius: 10px;
    border: 1px solid #117ade;
	background-color: #E3C129;
}

.schedule_5{
	border-radius: 10px;
	border: 1px solid #117ade;
	background-color: #399FFF;
}

.schedule_0 .schedule_cell_p{
	margin: 1px;
	font-size: 14px;
	color: grey;
}

.schedule_1 .schedule_cell_p{
	margin: 1px;
	font-size: 14px;
	color: #276B06;
}

.schedule_2 .schedule_cell_p{
	margin: 1px;
	font-size: 14px;
	color: #276B06;
}

.schedule_3 .schedule_cell_p{
	margin: 1px;
	font-size: 14px;
	color: white;
}

.schedule_4 .schedule_cell_p{
	margin: 1px;
	font-size: 14px;
	color: white;
}

.schedule_5 .schedule_cell_p{
	margin: 1px;
	font-size: 14px;
	color: white;
}

  
 .schedule_move_div{
    position:absolute;
	left: 15px;
	overflow: hidden;
	background-image: url("/static/icons/schedule_move.png");
	min-width: 15px;
	height: 15px;
 }

 .schedule_delete_div{
    position:absolute;
	left: 0px;
	overflow: hidden;
	background-image: url("/static/icons/schedule_delete.png");
	min-width: 15px;
	height: 15px;
 }

.schedule_resize_div{
    position:absolute;
	min-width: 15px;
	background-image: url("/static/icons/schedule_resize.png");
	height: 15px;
    bottom:0;
    right:0;
} 

.schedule_confirm_div{
    position:absolute;
	left: 15px;
	overflow: hidden;
	background-image: url("/static/icons/schedule_confirm.png");
	min-width: 15px;
	height: 15px;
} 


.day_schedule_even_row{
	text-align: center;
	background-color: #EFF7FF;
	color: grey;
}

 .schedule_delete_div_mobile{
    position:absolute;
	left: 0px;
	overflow: hidden;
	background-image: url("/static/icons/schedule_delete_mobile.png");
	min-width: 20px;
	height: 20px;
 }

.schedule_confirm_div_mobile{
    position:absolute;
	left: 20px;
	overflow: hidden;
	background-image: url("/static/icons/schedule_confirm_mobile.png");
	min-width: 20px;
	height: 20px;
} 

.schedule_move_up_div_mobile{
    position:absolute;
	left: 20px;
	overflow: hidden;
	background-image: url("/static/icons/schedule_move_up_mobile.png");
	min-width: 20px;
	height: 20px;
} 

.schedule_move_down_div_mobile{
    position:absolute;
	left: 40px;
	overflow: hidden;
	background-image: url("/static/icons/schedule_move_down_mobile.png");
	min-width: 20px;
	height: 20px;
} 

.schedule_expand_down_div_mobile{
    position:absolute;
    bottom:0;
    right:0;
	overflow: hidden;
	background-image: url("/static/icons/schedule_expand_mobile.png");
	min-width: 20px;
	height: 20px;
} 

.schedule_expand_down_div_mobile{
    position:absolute;
    bottom:0;
    right:0;
	overflow: hidden;
	background-image: url("/static/icons/schedule_expand_down_mobile.png");
	min-width: 20px;
	height: 20px;
} 

.schedule_expand_up_div_mobile{
    position:absolute;
    bottom:0;
    right:20;
	overflow: hidden;
	background-image: url("/static/icons/schedule_expand_up_mobile.png");
	min-width: 20px;
	height: 20px;
} 

.day_schedule_even_row{
	text-align: center;
	background-color: #EFF7FF;
	color: grey;
}

.day_schedule_odd_row{
	text-align: center;
	background-color: #fefefe;
	color: grey;
}

.disabled_row {
	background-color: #eee!important;
	color: grey;
	font-style: italic;
}

.day_schedule_lesson{
	text-align: center;
	background-color: #3299FF;
	color: white;
    padding: 10px 0px;
}

.ui-widget {
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.noselect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.link:hover{
    text-decoration: underline;
}

.login-box {
	/*border: 1px #bbb solid;
	border-radius: 10px;
	padding: 20px;*/
	margin: 100px auto;
	max-width: 400px;
}

.whitepanel .login-box h2 {
	margin-top: 0;
}

.login-box form {
	margin-bottom: 0;
}

.login-box input {
	outline: 0;
	width: 100%;
	border: 0;
	padding: 15px;
	box-sizing: border-box;
	font-size: 14px;
	border-radius: 5px;
}

.login-box input.login {
	margin: 0 0 15px;
	background: #f2f2f2;
}

.btn {
    white-space: normal;
}

.bg-success, .bg-primary, .bg-info, .bg-warning, .bg-danger {
    padding: 10px;
    border-radius: 5px;
	margin-top: 20px;
}

table.viewuser tr:last-child td {
    border-bottom: 1px solid #ddd;
}

table.newuser tr:not(:last-child) input {
    padding: 2px 4px;
}

.reset_button {
	text-align: center;
}
 
.sidebar {
	padding: 10px 10px 100020px;
	margin-bottom: -100000px;
}

.sidebar a {
	display: block;
}

.pagetitle {
	min-height: -moz-calc(100% - 50px);
	min-height: -webkit-calc(100% - 50px);
	min-height: calc(100% - 50px);
}

.pagetitle h2 {
	margin: 40px;
}

.whitepanel {
	background: white;
	padding-bottom: 20px;
}

.whitepanel h2 {
	text-align: center;
	margin: 40px 0 20px;
}

.whitepanel h3 {
	text-align: center;
	margin: 20px 0 40px;
}

table td {
	vertical-align: middle!important;
}

input,textarea {
	border-radius: 1px;
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;
}

table.viewuser, table.newuser {
	margin: auto;
}

.viewuser th {
	text-align: center;
	padding: 5px 20px;
	color: darkgrey;
}

.viewuser td {
	text-align: center;
	padding-top: 100px;
}

.viewuser td:first-child {
	text-align: left;
}

.newuser td {
	padding: 5px;
}

.timetable td.schedule_headers {
	background: linear-gradient(to right,#0052A4,#005DBA);
	color: white;
	font-weight: bold;
    border-left: white 1px solid;
    border-right: white 1px solid;
    padding:0;
    
	-moz-border-radius-topright:8px;
	-webkit-border-top-right-radius:8px;
	border-top-right-radius:8px;
	-moz-border-radius-topleft:8px;
	-webkit-border-top-left-radius:8px;
	border-top-left-radius:8px;
}

.schedule_headers{
	width: 200px;
	text-align: center;
}

.schedule td {
	padding: 20px;
	margin: 10px;
}

.schedule td.schedule_headers {
	background: #0052A4;
	color: white;
	font-weight: bold;

	-moz-border-radius-topright:10px;
	-webkit-border-top-right-radius:10px;
	border-top-right-radius:10px;
	
	-moz-border-radius-topleft:10px;
	-webkit-border-top-left-radius:10px;
	border-top-left-radius:10px;
}

.left_menu{
	float: left;
	width: 200px;
	background: red;
	position: fixed;
}

#states input {
    cursor: pointer;
    font-size: 16px;
}


.header {
    height: 50px;
    margin-bottom: 0px;
}
    
img.logo {
    float: left;
    margin-top: 5px;
}

table.timetable {
	border: none;
}

.timetable_headers{
	width: 160px;
	text-align: center;
}

.timetable td.timetable_headers {
	background: linear-gradient(to right,#0052A4,#005DBA);
	color: white;
	font-weight: bold;
    border-left: white 1px solid;
    border-right: white 1px solid;
    padding:0;
    
	-moz-border-radius-topright:10px;
	-webkit-border-top-right-radius:10px;
	border-top-right-radius:10px;
	
	-moz-border-radius-topleft:10px;
	-webkit-border-top-left-radius:10px;
	border-top-left-radius:10px;
}


.timetable tr:nth-child(2) td:first-child {
    -moz-border-radius-topleft:10px;
	-webkit-border-top-left-radius:10px;
	border-top-left-radius:10px;
}

.timetable tr:last-child td:first-child {
    -moz-border-radius-bottomleft:10px;
	-webkit-border-bottom-left-radius:10px;
	border-bottom-left-radius:10px;
}

.timetable tr:last-child td:last-child {
    -moz-border-radius-bottomright:10px;
	-webkit-border-bottom-right-radius:10px;
	border-bottom-right-radius:10px;
}


.timetable tr td:first-child {
	font-weight: bold;
    padding:20px;
}

.timetable td.clickable_cell {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;     
	cursor: pointer;  
    height: 50px;
}

.timetable td.clickable_cell:hover {
	transition: all 0.3s ease;
	-webkit-box-shadow: inset 0px 0px 1px 3px rgba(0,0,0,0.25);
	-moz-box-shadow: inset 0px 0px 1px 3px rgba(0,0,0,0.25);
	box-shadow: inset 0px 0px 1px 3px rgba(0,0,0,0.25);
}

#states input {
    cursor: pointer;
    font-size: 16px;
    margin: 10px;
}

.rating {
	unicode-bidi: bidi-override;
	text-align: center;
    font-size: 30px;
}

.textareawrapper {
	width: 100%;
}

textarea {
	width: 100%;
}

.text_table {
	margin: auto;
}

.text_table td {
	padding: 1px 10px;
}

.btn-center {
	display: block;
	margin: auto;
}

@media screen
{
    tr.printOnly{display:none;}
}

label {
	font-weight: 500;
	margin-right: 10px;
	cursor: pointer;
}

[type="radio"] {
	cursor: pointer;
}
